package com.zut.subject.domain.convert;

import com.zut.subject.domain.entity.SubjectInfoBo;
import com.zut.subject.domain.entity.SubjectLabelBo;
import com.zut.subject.domain.entity.SubjectOptionAnswerBo;
import com.zut.subject.infra.basic.entity.SubjectInfo;
import com.zut.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


//将SubjectCategoryBo类型转化为SubjectCategory类型
@Mapper
public interface ConvertSubjectInfo {

    ConvertSubjectInfo INSTANCE = Mappers.getMapper(ConvertSubjectInfo.class);
    //Bo转化为subjectCategory
    SubjectInfo toSubjectInfo(SubjectInfoBo subjectInfoBo);

    List<SubjectInfoBo> toListSubjectInfoBo(List<SubjectInfo> subjectInfoList);

    SubjectInfoBo toSubjectBo(SubjectInfo subjectInfo);


}
